home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ViewTester / Sources / Menus.fr < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.0 KB  |  52 lines  |  [TEXT/MPS ]

  1. //    File:        Menus.fr
  2. //
  3. //    Contains:    Common (Platform independent) resources for Form part
  4. //
  5. //    Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  6.  
  7. #ifndef FWRESFIL_K
  8. #include "FWResFil.k"
  9. #endif
  10.  
  11. #ifndef DEFINES_K
  12. #include "Defines.k"
  13. #endif
  14.  
  15. #ifndef FWMENUS_FR
  16. #include "FWMenus.fr"
  17. #endif
  18.  
  19. //----------------------------------------------------------------------------
  20. //    Menus
  21. //----------------------------------------------------------------------------
  22.  
  23. resource FW_RMenuBar(kMenuBar)
  24. {
  25.     "About ViewTester...",
  26.  
  27.     {
  28. #if FW_MACAPP_VIEWS
  29.         FW_RPullDownMenu
  30.         (
  31.             "MacApp"
  32.             {
  33.                 FW_RTextItem(cReloadMAViews, '1', "Reload Views"),
  34.                 FW_RTextItem(cLoadNewMAViews, '2', "Use New Resource...")                
  35.                 FW_RTextItem(cLoadNewMAResFile, '3', "Open New File...")                
  36.             }
  37.         )
  38. #endif
  39. #if FW_PPOB_VIEWS
  40.         FW_RPullDownMenu
  41.         (
  42.             "PowerPlant"
  43.             {
  44.                 FW_RTextItem(cReloadPPobViews, '4', "Reload Views"),
  45.                 FW_RTextItem(cLoadNewPPobViews, '5', "Use New Resource...")                
  46.                 FW_RTextItem(cLoadNewPPobResFile, '6', "Open New File...")                
  47.             }
  48.         )
  49. #endif
  50.     }
  51. };
  52.